<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	Object obj=request.getSession().getAttribute("frontuser");
%>
<header id=modTopbar class=mod-topbar>
	<IFRAME class=mod-topbar-bgframe></IFRAME>
	<DIV class=mod-topbar-pseudo-real>
		<DIV class="wrapper-box clearfix">
			<DIV class=left-box></DIV>
			<DIV class=center-box></DIV>
			<DIV class=right-box>
				<div class="fontcls" style='margin-top:10px;'>
					<%if(obj!=null){%>
						<a href="${pageContext.request.contextPath}/blog/index.zhtml">新建</a>&nbsp;&nbsp;
					<%} %>
					<%if(obj==null){%>
						<a href="/blog/frontlogin.zhtml">登陆</a>&nbsp;&nbsp;						
					<%} %>
					<a href="javascript:;">婚纱照</a>&nbsp;&nbsp;
					<%if(obj!=null){%>
						<a href="javascript:;" onclick="logout()">退出</a>
						<script>function logout(){window.location="/blog/blogLogout.zhtml"}</script>
					<%} %>
				</div>
			</DIV>
		</DIV>
	</DIV>
</header>
